<script type="text/javascript">
			jQuery(document).ready(function($) {
			$('a[rel*=facebox]').facebox({
			loading_image : 'facebox/loading.gif',
			close_image   : 'facebox/closelabel.gif'
			}) 
		})
</script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
    function initialize() {
        var mapDiv = document.getElementById('map-canvas');
        var distanceDiv = document.getElementById('distance');
        var theCenter = new google.maps.LatLng(<?php echo getOption('latitude');?>, <?php echo getOption('longitude');?>);
        var map = new google.maps.Map(mapDiv, {
                center: theCenter,
                zoom: 13,
                scrollwheel: false,
                mapTypeControlOptions: {
                    style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
                },
                mapTypeId: google.maps.MapTypeId.ROADMAP
        });

        var poldadiy = new google.maps.Marker({
            position: theCenter,
            map: map,
        });
    }
    google.maps.event.addDomListener(window, 'load', initialize);
</script>

<style type="text/css">
      #map-canvas {
        width: 218px;
        height: 150px;
		display: block;
		overflow:auto;
      }
</style>


<script type="text/javascript">

<?php if ($this->session->flashdata('message_testi_fail')):?>
	alert('<?php echo $this->session->flashdata('message_testi_fail');?>');
<?php endif;?>

<?php if ($this->session->flashdata('message_testi_ok')):?>
	alert('<?php echo $this->session->flashdata('message_testi_ok');?>');
<?php endif;?>
</script>

	<div class="sidebar_right">
		
		<div class="news_letter_form">
			<h3 class="news_letter_title"></h3>
			<form action="" method="post" class="login-form">
				<ul class="login">
					<li class="login">
						<label for="user_login">Email</label>
						<input type="text" name="user_login" class="text-login" size="20"value="">
					</li>
						<li class="login">
						<input type="submit" value="Submit" class="big" > 
					</li>
				</ul>
			</form>
		</div>
		<div class="testimonial">
			<script src="http://widgets.twimg.com/j/2/widget.js"></script>
			<script>
			new TWTR.Widget({
			  version: 2,
			  type: 'profile',
			  rpp: 4,
			  interval: 30000,
			  width: 220,
			  height: 300,
			  theme: {
				shell: {
				  background: '#333333',
				  color: '#ffffff'
				},
				tweets: {
				  background: '#000000',
				  color: '#ffffff',
				  links: '#eb7d07'
				}
			  },
			  features: {
				scrollbar: false,
				loop: false,
				live: false,
				behavior: 'all'
			  }
			}).render().setUser('priharjanta').start();
			</script>
		</div>
		<!--NOT LOGIN TESTI POP UP-->
	   	<div id="testi_not_login" style="display:none">
			<h3 style="text-align:right;">You are not logged in</h3>
				
					
						<label><strong style="color:#000000;">Sorry, you must login first</strong></label>
						<p>
						Promo satu Lorem ipsum dolor sit amet, consectetur adipisicing elit, ut aliquip ex ea commodo consequat. Sed do eiusmod tempor incididunt eu fugiat nulla pariatur. Sunt in culpa quis nostrud exercitation ullamco laboris nisi.
						</p>
						
				 
		</div>	
		<!--END-->	
		
		<!--ADD TESTI POP UP-->
	   	<div id="testi_add" style="display:none">
			<h3 style="text-align:right;">Add Testimonial</h3>
				<form action="<?php echo site_url().'testimonial/add/'.$this->session->userdata('member_id')?>" method="post">
					
						<label><strong style="color:#000000;">Please write your testimoni</strong></label>
						
						<?php echo form_error('isi_testi', '<div class="error">', '</div>'); ?>
						<textarea id="isi_testi" style="height:100px;" name="isi_testi"></textarea>
						<input id="submit" type="submit" name="submit" value="Submit" class="">
				</form>     
		</div>	
		<!--END-->	
		<div class="banner_bar">
			<a href="<?php echo base_url().'konfirmasi'?>"><img src="<?php echo base_url()?>assets/images/confirmation.png" alt="" /></a>
		</div>
		
		
		<div class="banner_bar">
			<a href="#"><img src="<?php echo base_url()?>assets/images/shipping_bar.png" alt="" /></a>
		</div>

		<div class="map_bar">
			<h3 class="map_title"></h3>
			<div id="map-canvas"></div>
		</div>
	</div>
	

